fn create_box(){
    let _box1 = Box::new(3_i32);
}


struct ToDrop;

impl Drop for ToDrop {
    fn drop(&mut self){
        println!("ToDrop is being dropped");
    }
}


pub fn main(){
    let _box2 = Box::new(5_i32);

    {
        let _box3 = Box::new(4_i32);
    }

    for _ in 0u32..1_000 {
        create_box();
    }

    let _x = ToDrop;
    println!("Make a ToDrop!");

}
